package Practice1;

public class Rectangle {
    private double with;
    private double height;
    public Rectangle(){

    }
    public Rectangle(double with,double height) {
        this.height = height;
        this.with = with;
    }
    public double getArea() {
        return with*height;
    }
}
